#!/bin/bash


#for dist in idf_575_valid idf_95_valid idf_175_valid idf_351_valid; do
#    ./read_cold -f ../db/ali_single_valid_index/${dist}.txt -k 16 -v 64 -d ../ssd/db_ddist_${dist}_16 -m 7 -w > ../evaluation/${dist}_16_put.txt
#    ./read_cold -f ../db/ali_single_valid_index/${dist}.txt -k 16 -v 64 -d ../ssd/db_ddist_${dist}_16_random -m 7 -w -l 3 > ../evaluation/${dist}_16_random_put.txt
#done



END=810
for dist in $(seq 1 $END); do
  ./scripts/load_db_ali_single.sh idf_${dist}_valid
  python ./scripts/collect_results.py 1 idf_${dist}_valid >> ../evaluation/expr_dataset.txt
done

cat ../evaluation/expr_dataset.txt

time_record_file="../evaluation/Time_Record.txt"
cat $time_record_file
